;(function(VueRouter, Foo, Bar, Home, CrudList, CrudNew){
	window.router = new VueRouter({
		// 修改默认的 router-link-active 样式类名
		linkActiveClass : 'active',
		routes : [
			{ path : '/', component : Home},
			{ path : '/foo', component : Foo},
			{ path : '/bar', component : Bar},
			{ path : '/crud', component : CrudList},
			{ path : '/crud/new', component : CrudNew}
		]
	})
})(VueRouter, Foo, Bar, Home, CrudList, CrudNew)